package com.briup.jz.service;

import java.util.List;
import com.briup.jz.bean.BaseUserRole;
import com.briup.jz.utils.CustomerException;

public interface IBaseUserRoleService {
	void saveOrUpdate(BaseUserRole baseUserRole) throws CustomerException;
	
	//List<BaseUserRole> query(long id);
	List<BaseUserRole> query(Long id);
	
	//void deleteById(long id) throws CustomerException;
	void deleteById(Long id) throws CustomerException;
	//
	void updateRoleIdByUserId(long userId,long roleId);
	
}
